package com.jumi.microservice.entity;

import com.baomidou.mybatisplus.annotation.*;
import java.math.*;
import java.util.Date;

/**
 * @author by  mazhao
 * @Date 2021-01-18 
 */

@TableName("coupon_order")
public class CouponOrder {


	/**
	 * 优惠券订单ID
	 */
   @TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户ID
	 */
	private Long uid;

	/**
	 * 商品ID
	 */
	private Long goodsId;

	/**
	 * 商品标题
	 */
	private String goodsTitle;

	/**
	 * 商品图片
	 */
	private String goodsImage;

	/**
	 * 商品价格
	 */
	private BigDecimal goodsPrice;

	/**
	 * 商品数量
	 */
	private Integer goodsQuantity;

	/**
	 * 订单编号
	 */
	private String orderSn;

	/**
	 * 聚米订单状态: 1 已付款, 2 已结算, 3 已失效
	 */
	private Byte couponOrderStatus;

	/**
	 * 订单状态
	 */
	private Byte orderStatus;

	/**
	 * 订单状态描述
	 */
	private String orderStatusDesc;

	/**
	 * 订单创建时间
	 */
	private Date orderTime;

	/**
	 * 付款金额
	 */
	private BigDecimal payAmount;

	/**
	 * 订单支付时间
	 */
	private Date payTime;

	/**
	 * 结算金额
	 */
	private BigDecimal settlementAmount;

	/**
	 * 结算时间
	 */
	private Date settlementTime;

	/**
	 * 佣金比例
	 */
	private BigDecimal promotionRate;

	/**
	 * 佣金金额
	 */
	private BigDecimal promotionAmount;

	/**
	 * 推广位ID
	 */
	private String promotionId;

	/**
	 * 推广位名称
	 */
	private String promotionName;

	/**
	 * 淘宝会员运营ID
	 */
	private Long tbSpecialId;

	/**
	 * 拼多多结算批次
	 */
	private String batchNo;

	/**
	 * 拼多多上次拉取订单列表最后一次订单ID
	 */
	private String lastOrderId;

	/**
	 * 订单来源，1 淘宝， 2 京东， 3 拼多多
	 */
	private Byte source;

	/**
	 * 删除标示
	 */
	private Byte delFlag;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Long getUid() {
		return this.uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Long getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
	}

	public String getGoodsTitle() {
		return this.goodsTitle;
	}

	public void setGoodsTitle(String goodsTitle) {
		this.goodsTitle = goodsTitle;
	}

	public String getGoodsImage() {
		return this.goodsImage;
	}

	public void setGoodsImage(String goodsImage) {
		this.goodsImage = goodsImage;
	}

	public BigDecimal getGoodsPrice() {
		return this.goodsPrice;
	}

	public void setGoodsPrice(BigDecimal goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public Integer getGoodsQuantity() {
		return this.goodsQuantity;
	}

	public void setGoodsQuantity(Integer goodsQuantity) {
		this.goodsQuantity = goodsQuantity;
	}

	public String getOrderSn() {
		return this.orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	public Byte getCouponOrderStatus() {
		return this.couponOrderStatus;
	}

	public void setCouponOrderStatus(Byte couponOrderStatus) {
		this.couponOrderStatus = couponOrderStatus;
	}

	public Byte getOrderStatus() {
		return this.orderStatus;
	}

	public void setOrderStatus(Byte orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getOrderStatusDesc() {
		return this.orderStatusDesc;
	}

	public void setOrderStatusDesc(String orderStatusDesc) {
		this.orderStatusDesc = orderStatusDesc;
	}

	public Date getOrderTime() {
		return this.orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public BigDecimal getPayAmount() {
		return this.payAmount;
	}

	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	public Date getPayTime() {
		return this.payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public BigDecimal getSettlementAmount() {
		return this.settlementAmount;
	}

	public void setSettlementAmount(BigDecimal settlementAmount) {
		this.settlementAmount = settlementAmount;
	}

	public Date getSettlementTime() {
		return this.settlementTime;
	}

	public void setSettlementTime(Date settlementTime) {
		this.settlementTime = settlementTime;
	}

	public BigDecimal getPromotionRate() {
		return this.promotionRate;
	}

	public void setPromotionRate(BigDecimal promotionRate) {
		this.promotionRate = promotionRate;
	}

	public BigDecimal getPromotionAmount() {
		return this.promotionAmount;
	}

	public void setPromotionAmount(BigDecimal promotionAmount) {
		this.promotionAmount = promotionAmount;
	}

	public String getPromotionId() {
		return this.promotionId;
	}

	public void setPromotionId(String promotionId) {
		this.promotionId = promotionId;
	}

	public String getPromotionName() {
		return this.promotionName;
	}

	public void setPromotionName(String promotionName) {
		this.promotionName = promotionName;
	}

	public Long getTbSpecialId() {
		return this.tbSpecialId;
	}

	public void setTbSpecialId(Long tbSpecialId) {
		this.tbSpecialId = tbSpecialId;
	}

	public String getBatchNo() {
		return this.batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public String getLastOrderId() {
		return this.lastOrderId;
	}

	public void setLastOrderId(String lastOrderId) {
		this.lastOrderId = lastOrderId;
	}

	public Byte getSource() {
		return this.source;
	}

	public void setSource(Byte source) {
		this.source = source;
	}

	public Byte getDelFlag() {
		return this.delFlag;
	}

	public void setDelFlag(Byte delFlag) {
		this.delFlag = delFlag;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
